/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.letmeshare.academics.entities;

import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import org.letmeshare.pedagogue.core.entities.Group;
import org.letmeshare.pedagogue.core.entities.Student;
import org.letmeshare.pedagogue.core.validation.ValidationException;

/**
 *
 * @author ibisuser1
 */
@Entity
public class Batch extends Group<Student> {
    
    @ManyToOne
    private Course course;
    @ManyToOne
    private AcademicYear academicYear;
    private String suffix;
    
    @Override
    public void validate() throws ValidationException {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
